<template>
  <div class="recommend-singer-item-main-container">
    <img class="recommend-singer-item-img" :src="item.picUrl" alt="">
    <div class="recommend-singer-item-message">
      <p class="recommend-singer-item-name">{{ item.name }}</p>
      <p class="recommend-singer-item-title">音乐人</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "RecommendSingerItemMessage",
  data() {
    return {}
  },
  props: {
    item: {
      type: Object
    },
  },
}
</script>

<style scoped lang="less">
.recommend-singer-item-main-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #787878;
  border-radius: 20px;
  transition: all .2s linear;
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 20px #AEAEAE;
    
    .recommend-singer-item-message {
      .recommend-singer-item-name, .recommend-singer-item-title {
        color: #ffffff;
      }
    }
  }
  
  .recommend-singer-item-img {
    height: 60px;
    width: 60px;
    border-radius: 20px;
  }
  
  .recommend-singer-item-message {
    height: 60px;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    
    .recommend-singer-item-name {
      color: #b4b1af;
      font-size: 12px;
      
      
    }
    
    .recommend-singer-item-title {
      color: #b4b1af;
      font-size: 12px;
    }
  }
}
</style>
